<!--  -->
<template>
  <div class="building">
    <img v-if="noAuth" src="@/assets/images/no-data.png" alt="" />
    <img v-else alt="" src="@/assets/images/building.png" />
    <div class="desc">{{ desc }}</div>
  </div>
</template>

<script>
export default {
  props: {
    noAuth: {
      type: Boolean,
      default: false
    },
    desc: {
      type: String,
      default: '驾驶舱正在逐步建设中，欢迎向项目组提出宝贵需求与建议。'
    }
  }
}
</script>
<style lang="scss" scoped>
.building {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
  font-size: 14px;
  img {
    height: 200px;
  }
  .desc {
    text-align: center;
    width: 60%;
    color: #ffffff55;
  }
}
</style>
